package entity;

public class Mall {
    private int userId;          //用户id
    private String loginName;    //账号
    private int loginSecret;     //安全码
    private String loginPwd;     //密码
    private int userSex;         //性别 0男 1女
    private int userType;        //用户类型 0普通会员 1门店用户
    private String userName;     //用户名称
    private String userQQ;       //QQ
    private int userPhone;      //手机
    private String userEmail;    //邮箱
    private int userScore;       //积分
    private String userPhoto;    //头像
    private int userTotalScore;  //用户历史消费积分
    private int userStatus;      //账户状态
    private int userLevel;       //用户等级
    private int userFlag;        //删除标志 -1删除 1有效
    private String createTime;   //创建时间
    private String lastIP;       //最后登陆ip
    private String lastTime;     //最后登陆时间
    private int userFrom;        //用户来源 1商城 2webapp 3手机版
    private String openId;       //openId
    private String wxOpenId;     //wxOpenId
    private double userMoney;    //账户余额
    private double lockMoney;    //冻结金额
    private int distributMoney;  //佣金
    private int isBuyer;         //是否购买者 0是 1不是
    private String payPwd;       //支付密码

    /**
     * 无参构造
     */
    public Mall() {
    }

    /**
     * 有参构造
     * @param loginName 用户名
     */
    public Mall(String loginName) {
        this.loginName = loginName;
    }

    /**
     * 有参构造
     * @param loginPwd 密码
     * @param userEmail 邮箱
     */
    public Mall(String userEmail,String loginPwd) {
        this.userEmail = userEmail;
        this.loginPwd = loginPwd;
    }

    /**
     * 有参构造
     * @param loginName 用户名
     * @param loginPwd 用户密码
     * @param userEmail 用户邮箱
     * @param createTime 创建时间
     */
    public Mall(String loginName, String userEmail,String loginPwd, String createTime) {
        this.loginName = loginName;
        this.userEmail = userEmail;
        this.loginPwd = loginPwd;
        this.createTime = createTime;
    }

    public Mall(int userId) {
        this.userId = userId;
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public String getLoginName() {
        return loginName;
    }

    public void setLoginName(String loginName) {
        this.loginName = loginName;
    }

    public int getLoginSecret() {
        return loginSecret;
    }

    public void setLoginSecret(int loginSecret) {
        this.loginSecret = loginSecret;
    }

    public String getLoginPwd() {
        return loginPwd;
    }

    public void setLoginPwd(String loginPwd) {
        this.loginPwd = loginPwd;
    }

    public int getUserSex() {
        return userSex;
    }

    public void setUserSex(int userSex) {
        this.userSex = userSex;
    }

    public int getUserType() {
        return userType;
    }

    public void setUserType(int userType) {
        this.userType = userType;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserQQ() {
        return userQQ;
    }

    public void setUserQQ(String userQQ) {
        this.userQQ = userQQ;
    }

    public int getUserPhone() {
        return userPhone;
    }

    public void setUserPhone(int userPhone) {
        this.userPhone = userPhone;
    }

    public String getUserEmail() {
        return userEmail;
    }

    public void setUserEmail(String userEmail) {
        this.userEmail = userEmail;
    }

    public int getUserScore() {
        return userScore;
    }

    public void setUserScore(int userScore) {
        this.userScore = userScore;
    }

    public String getUserPhoto() {
        return userPhoto;
    }

    public void setUserPhoto(String userPhoto) {
        this.userPhoto = userPhoto;
    }

    public int getUserTotalScore() {
        return userTotalScore;
    }

    public void setUserTotalScore(int userTotalScore) {
        this.userTotalScore = userTotalScore;
    }

    public int getUserStatus() {
        return userStatus;
    }

    public void setUserStatus(int userStatus) {
        this.userStatus = userStatus;
    }

    public int getUserLevel() {
        return userLevel;
    }

    public void setUserLevel(int userLevel) {
        this.userLevel = userLevel;
    }

    public int getUserFlag() {
        return userFlag;
    }

    public void setUserFlag(int userFlag) {
        this.userFlag = userFlag;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getLastIP() {
        return lastIP;
    }

    public void setLastIP(String lastIP) {
        this.lastIP = lastIP;
    }

    public String getLastTime() {
        return lastTime;
    }

    public void setLastTime(String lastTime) {
        this.lastTime = lastTime;
    }

    public int getUserFrom() {
        return userFrom;
    }

    public void setUserFrom(int userFrom) {
        this.userFrom = userFrom;
    }

    public String getOpenId() {
        return openId;
    }

    public void setOpenId(String openId) {
        this.openId = openId;
    }

    public String getWxOpenId() {
        return wxOpenId;
    }

    public void setWxOpenId(String wxOpenId) {
        this.wxOpenId = wxOpenId;
    }

    public double getUserMoney() {
        return userMoney;
    }

    public void setUserMoney(double userMoney) {
        this.userMoney = userMoney;
    }

    public double getLockMoney() {
        return lockMoney;
    }

    public void setLockMoney(double lockMoney) {
        this.lockMoney = lockMoney;
    }

    public int getDistributMoney() {
        return distributMoney;
    }

    public void setDistributMoney(int distributMoney) {
        this.distributMoney = distributMoney;
    }

    public int getIsBuyer() {
        return isBuyer;
    }

    public void setIsBuyer(int isBuyer) {
        this.isBuyer = isBuyer;
    }

    public String getPayPwd() {
        return payPwd;
    }

    public void setPayPwd(String payPwd) {
        this.payPwd = payPwd;
    }
}
